<h1>Crm albarans List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Numero</th>
      <th>Fecha</th>
      <th>Cliente</th>
      <th>Personal</th>
      <th>Empresa</th>
      <th>Facturado</th>
      <th>Observaciones</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Validated at</th>
      <th>Is validated</th>
      <th>Removed at</th>
      <th>Remove it</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($crm_albarans as $crm_albaran): ?>
    <tr>
      <td><a href="<?php echo url_for('albaran/show?id='.$crm_albaran->getId()) ?>"><?php echo $crm_albaran->getId() ?></a></td>
      <td><?php echo $crm_albaran->getNumero() ?></td>
      <td><?php echo $crm_albaran->getFecha() ?></td>
      <td><?php echo $crm_albaran->getClienteId() ?></td>
      <td><?php echo $crm_albaran->getPersonalId() ?></td>
      <td><?php echo $crm_albaran->getEmpresaId() ?></td>
      <td><?php echo $crm_albaran->getFacturado() ?></td>
      <td><?php echo $crm_albaran->getObservaciones() ?></td>
      <td><?php echo $crm_albaran->getCreatedAt() ?></td>
      <td><?php echo $crm_albaran->getUpdatedAt() ?></td>
      <td><?php echo $crm_albaran->getValidatedAt() ?></td>
      <td><?php echo $crm_albaran->getIsValidated() ?></td>
      <td><?php echo $crm_albaran->getRemovedAt() ?></td>
      <td><?php echo $crm_albaran->getRemoveIt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('albaran/new') ?>">New</a>
